<!DOCTYPE html>
<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>         <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]>      <html class="no-js"> <!--<![endif]-->
<html>
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title></title>
    <meta name="description" content="">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="">
    <style>
      .box{
        margin-left: 500px;
        display: inline-block;
        overflow: hidden;
        border: 1px solid black;
      }

      .box div{
        display: inline-block;
      }
      .iconwrappper{
        color: lightgray;
        background-color: rgba(255, 255, 255, 0.7);
        transform:translate(-100px);
        transition:transform 2s ease ;
      }
      .iconwrappper:hover{
        color: white;
        transform:translate(0);
        background-color: blue
      }
    </style>
  </head>
  <body>
    <div class="box">
      <div class="iconwrappper">
        <div class="desc"> 这是一段文字描述</div>
        <div class="icon">图标</div>
      </div>
    </div>
    
    <script src="" async defer></script>
  </body>
</html>